package com.lzh.persevere.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lzh.persevere.common.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 朋友圈表(FriendCycle)表实体类
 *
 * @author luzhiheng
 * @since 2025-07-07
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("friend_cycle")
@Builder
@Accessors(chain = true)
@Entity
@Table(name = "friend_cycle", indexes = {})
public class FriendCycle extends BaseEntity {

    /**
     * 内容
     */
    @Column(name = "content", columnDefinition = "varchar(255) COMMENT '内容'")
    private String content;

    /**
     * 标签
     */
    @Column(name = "tag", columnDefinition = "varchar(255) COMMENT '标签'")
    private String tag;

    /**
     * IP地址
     */
    @Column(name = "ip", columnDefinition = "varchar(255) COMMENT 'IP地址'")
    private String ip;

    /**
     * 文件ID
     */
    @Column(name = "file_ids", columnDefinition = "varchar(1024) COMMENT '文件ID'")
    private String fileIds;

}

